<?php $this->load->view('admin/public/head.html', array('css' => array(
'/assets/admin/css/admin/common.css'
))); ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper" ng-controller="admin-order-setting">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            订单管理
            <small>订单基础设置</small>
        </h1>
        <ol class="breadcrumb">
            <li><a href="/farm/base/index"><i class="fa fa-dashboard"></i> 订单管理</a></li>
            <li class="active">设置订单</li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="row adminBase">
            <div class="col-md-12">
                <div class="box box-info">
                    <div class="box-header with-border">
                        <h3 class="box-title">自动完成订单</h3>
                    </div>
                    <form class="form-horizontal">
                        <div class="box-body">
                            <div class="form-group">
                                <label for="nickName" class="col-sm-2 control-label">自动完成天数</label>
                                <div class="col-sm-5">
                                    <input type="text" class="form-control" ng-model="days" id="nickName" placeholder="设置天数">
                                    <p class="help-block">用户未确认完成订单情况下，X天内自动将订单状态设置为完成</p>
                                </div>
                            </div>
                        </div>
                        <!-- /.box-body -->
                        <div class="box-footer">
                            <button type="submit" class="btn btn-default btn-sm" onclick="history.go(-1)">返回列表</button>
                            <button type="submit" class="btn btn-info btn-sm pull-right" style="background: #00a65a; border: none;" ng-click="setDays()">确认修改</button>
                        </div>
                        <!-- /.box-footer -->
                    </form>
                </div>
            </div>
        </div>
    </section>
    <!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php $this->load->view('admin/public/foot.html', array('js' => array(
'/assets/admin/js/order/setting.js'
))); ?>
